//
//  FlippedView.m
//  jskick
//
//  Created by Andrew Barry on 21/02/09.
//  Copyright 2009 Barry Computer Services. All rights reserved.
//

#import "FlippedView.h"

@implementation FlippedView
- (id)initWithFrame:(NSRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code here.
    }
    return self;
}

-(BOOL) isFlipped {
	return YES;
}

-(void)markPaused {
	isPaused = true;
}

-(void)markResumed {
	isPaused = false;
}


- (NSView *)hitTest:(NSPoint)aPoint {
	if (isPaused)
		return self;
	return [super hitTest:aPoint];
}

@end
